import matplotlib.pyplot as plt
import numpy as np


x = np.arange(0, 6, 0.1)
y = np.sin(x)
plt.plot(x, y, label="sin", linestyle="--")
plt.legend()
plt.show()